package com.packet.service.impl;

import com.packet.mybatis.mapper.ItemMapper;
import com.packet.pojo.Item;
import com.packet.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName:ItemServiceImpl
 * @Author: mu
 * @Date:2024-06-23 16:02
 * @Describe:
 */
@Service
public class ItemServiceImpl implements ItemService {
    @Autowired
    private ItemMapper itemMapper;
    @Override
    public List<Item> getAllItem() {
        return itemMapper.getAllItem();
    }
}
